package com.shuwen.gcdj.entity.basics;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 报修工单详情表
 * @TableName order_repairworkorderdetail
 */
@TableName(value ="order_repairworkorderdetail")
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class OrderRepairworkorderdetail  extends Model<OrderRepairworkorderdetail>  implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 报修工单id
     */
    private String orderId;

    /**
     * 报修工单编号
     */
    private String orderCode;

    /**
     * 部件id
     */
    private String structureId;

    /**
     * 图片
     */
    private String picture;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 创建者id
     */
    @TableField(fill = FieldFill.INSERT)
    private String createId;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新者id
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateId;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    /**
     * 是否删除 1-删除 0-正常
     */
    private Integer isDelete;

    /**
     *
     */
    private String remark;

    /**
     * 详情编号
     */
    private String code;

    /**
     * 处理备注
     */
    private String disposeRemark;

    /**
     * 处理图片
     */
    private String disposePicture;

    /**
     * 处理人id
     */
    private String disposeOperaterId;

    /**
     * 处理人名称
     */
    private String disposeOperaterName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
